AddCheckPointTemplateRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > AddCheckPointTemplateRecord

## AddCheckPointTemplateRecord

The AddCheckPointTemplateRecord function will add a template record into the user database.

###### Syntax

TRecordResponse * AddCheckPointTemplateRecord( TCheckPointReturnTemplate * ACheckPointReturnTemplate, BSTR ASessionID ) ;

###### Parameters

ACheckPointReturnTemplate

[IN] This is a TCheckPointReturnTemplate class which represents the template record that is to be entered into the database. The Fields of interest are:

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

The AddCheckPointTemplateRecord function will add a template record into the user database. Please refer to the section called " Control CheckPoint HTTP GET Return Templates" for details on templates.

Only CheckPoint administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- This will return true if the function was successful, otherwise returns false

- PrimaryKeyValue- This is will contain the Template Record that is assigned to the new user.

- ErrorMessage- If an error occurred, this field will contain the associated message to the error.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"